package com.info.zhiduoduo.repository.entity.maker;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 创客年度汇算清缴记录
 * </p>
 *
 * @author bob
 * @since 2019-12-26
 */
@Data
@Accessors(chain = true)
@TableName("zdd_maker_final_settlement")
public class MakerFinalSettlement extends Model<MakerFinalSettlement> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 创客工作室
     */
    private Integer userid;
    /**
     * 年份 2019
     */
    private String year;
    /**
     * 操作人id
     */
    private Integer managerid;
    private Date createtime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
